import request from "@/utils/request";

//修改密码
export const modifyPassword = (params) => request.patch("/user/updatePassword", params);
//修改头像
export function ChangeAvatar(data) {
    return request({
      url: '/user/updateUserPic',
      method: 'post',
      data: data
    })
  }
